﻿using Microsoft.Xna.Framework;

using Ah.Testudin.Engine.Actors;

namespace Ah.Testudin.Engine.Graphics.Scenes
{
    public class SceneNodeProperties
    {
        #region Properties

        public string Name { get; private set; }

        public ActorId ActorId { get; private set; }

        public Matrix ToWorldTransform { get; set; }

        public Matrix FromWorldTransform { get; private set; }

        public float Radius { get; set; }

        public RenderPass RenderPass { get; private set; }

        #endregion

        #region Constructors

        public SceneNodeProperties(
            string name,
            ActorId actorId,
            Matrix toWorldMatrix,
            Matrix fromWorldMatrix,
            float radius,
            RenderPass renderPass)
        {
            this.Name = name;
            this.ActorId = actorId;
            this.ToWorldTransform = toWorldMatrix;
            this.FromWorldTransform = fromWorldMatrix;
            this.Radius = radius;
            this.RenderPass = renderPass;
        }

        #endregion
    }
}
